package com.cn.xiaonuo.slbfinances.stockcontrol.enums;

import lombok.Getter;

/**
 * 商品类别
 *
 * @author Monetary
 * @date 2021-03-05 18:16:12
 */
@Getter
public enum FactoryStockEnum {

    /**
     * 数据不存在
     */
    NOT_EXIST(1, "此数据不存在"),
    STORE_TYPE(1, "专卖店库存"),
    FACTORY_STOCK_TYPE(2, "供应商库存"),
    DELETED(0, "逻辑删除状态，未删除"),
    BUY(0,"购买"),
    SALE(1,"销售"),
    REFUND(3,"退款"),
    PAYMENT_FAILED(4,"支付失败"),
    CANCELLATION_OF_ORDER(5,"取消订单"),
    COMMODITY_TRADING(1,"商品交易"),
    FACTORY_PURCHASE(2,"厂家进货"),
    ORDER_NOT_COMPLETED(-1,"订单未完成"),
    TO_BE_DELIVERED(1,"出库中"),
    ISSUED(2,"已出库"),
    DELIVERY_COMPLETED(3,"入库完成"),
    WAREHOUSING(4,"入库中"),
    OUTBOUND_DETAILS(2,"出库明细"),
    WAREHOUSING_DETAILS(1,"入库明细"),
    PURCHASE_DETAILS(3,"进货明细");
    private Integer code;
    private String msg;

    FactoryStockEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
